//
//  PostAttributedString.h
//  XPhoto
//
//  Created by sentinel on 2020/3/20.
//  Copyright © 2020 baboy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Post.h"
#import "Comment.h"
#import "BKAttributedString.h"


NS_ASSUME_NONNULL_BEGIN

@interface CommonAttributedString : BKAttributedString

+ (NSMutableAttributedString *) contentAttributedStringWithText:(NSString *)text;

+ (NSMutableAttributedString *) contentAttributedStringWithPost:(Post *)post;
+ (NSMutableAttributedString *) commentCountAttributedStringWithPost:(Post *)post;


+ (NSMutableAttributedString *) commentAttributedStringWithComment:(Comment *)comment;
@end

NS_ASSUME_NONNULL_END
